695af1b189e35887230a7d6549b3f86a81027240,src/main/java/org/xerial/snappy/BitShuffle.java,BitShuffle,bitShuffle,#number[]#,103

Before Change


     */
    public static byte[] bitShuffle(float[] input) throws IOException {
        byte[] output = new byte[input.length * 4];
        if (impl.supportBitSuffle()) {
            impl.bitShuffle(input, 0, 4, input.length * 4, output, 0);
        } else {
            Snappy.arrayCopy(input, 0, input.length * 4, output, 0);
        }
        return output;
    }

After Change


     */
    public static byte[] bitShuffle(short[] input) throws IOException {
        byte[] output = new byte[input.length * 2];
        int numProcessed = impl.bitShuffle(input, 0, 2, input.length * 2, output, 0);
        assert(numProcessed == input.length * 2);
        return output;
    }